package org.utils.setting;


public class SettingMarkers {
	private static SettingMarkers 	instance = null;
	private int nombreDeMarkers;
	private int distanceActivationMarkers;
	public static SettingMarkers getInstance() {
		if(instance==null){
			instance = new SettingMarkers();
			instance.setNombreDeMarkers(10);
			instance.setDistanceActivationMarkers(7);
		}
		return instance;
	}

	public int getNombreDeMarkers() {
		return nombreDeMarkers;
	}
	public void setNombreDeMarkers(int nombreDeMarkers) {
		this.nombreDeMarkers = nombreDeMarkers;
	}

	public int getDistanceActivationMarkers() {
		return distanceActivationMarkers * 1000000;
	}

	public void setDistanceActivationMarkers(int distanceActivationMarkers) {
		this.distanceActivationMarkers = distanceActivationMarkers;
	}
}
